home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 2 / CU Amiga Magazine's Super CD-ROM 02 (1996)(EMAP Images)(GB)[!][issue 1996-04].iso / magazine / amiga_e / amigae.jan.archive / 000058_crash!archimed…rit.fr!vintenat_Mon, 24 Jan 94 04:47:17 PST.msg < prev    next >
Text File  |  1994-02-17  |  12KB  |  281 lines

  1. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  2.       id <1nc7@bkhouse.cts.com>; Mon, 24 Jan 94 04:47:17 PST
  3. Received: from archimed.irit.fr by crash.cts.com with smtp
  4.     (Smail3.1.28.1 #18) id m0pOPv1-0000NSC; Mon, 24 Jan 94 03:57 PST
  5. Received: from localhost (vintenat@localhost) by archimed.irit.fr (8.6.4/8.6.4) id NAA10496 for AmigaE@bkhouse.cts.com; Mon, 24 Jan 1994 13:00:30 GMT
  6. Date: Mon, 24 Jan 1994 13:00:30 GMT
  7. Message-Id: <199401241300.NAA10496@archimed.irit.fr>
  8. From: Lionel VINTENAT <vintenat@archimed.irit.fr>
  9. To: AmigaE@bkhouse.cts.com
  10. Subject: Re: E Statement, v5
  11.  
  12. >In a message about the next release of E, one feature mentioned by
  13. >Wouter was:
  14. >
  15. >> - multiple returnvalues and multiple-value assignments.
  16. >>   functions can now return more than one value, and assignment
  17. >>   statements can store in more than one var.
  18. >>   a,b,c:=func(); RETURN 1,2,3
  19. >
  20. >WRT, the multiple-value assignments, how is (or might) this capability
  21. >different from the already available ability to have multiple assignments
  22. >"chained" in one statement?, e.g. :
  23. >
  24. >   a:=b:=c:=func()
  25.     With a:=b:=c:=func(), the 3 variables (a,b and c) are equal to the
  26. value returned by func().
  27.     With a,b,c:=func(), a is equal to 1, b is equal to 2 and c is equal to
  28. 3, because func() has returned the 3 values 1,2,3.
  29.  
  30.     Lionel
  31. From crash!rbhp56.rbg.informatik.th-darmstadt.de!anh Mon, 24 Jan 94 04:47:26 PST
  32. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  33.       id <1ncc@bkhouse.cts.com>; Mon, 24 Jan 94 04:47:26 PST
  34. Received: from rbhp89.rbg.informatik.th-darmstadt.de by crash.cts.com with smtp
  35.     (Smail3.1.28.1 #18) id m0pOPxl-0000RZC; Mon, 24 Jan 94 04:00 PST
  36. Received: from rbhp73.rbg.informatik.th-darmstadt.de by rbhp89.rbg.informatik.th-darmstadt.de with SMTP
  37.     (1.36.108.4/15.6) id AA14540; Mon, 24 Jan 1994 13:00:52 +0100
  38. Received: by rbhp73.rbg.informatik.th-darmstadt.de
  39.     (1.36.108.4/15.6) id AA11827; Mon, 24 Jan 1994 13:00:02 +0100
  40. Message-Id: <m0pOPxl-0000RZC@crash.cts.com>
  41. Date: Mon, 24 Jan 94 13:00:01 MEZ
  42. Full-Name: Olivier Anh
  43. In-Reply-To: <9401211330.AA02900@plucky.safb.af.mil>; from "Barry D Wills" at Jan 21, 94 7:30 am
  44. Mailer: Elm [revision: 66.25]
  45. From: Olivier Anh <anh@rbhp56.rbg.informatik.th-darmstadt.de>
  46. To: AmigaE@bkhouse.cts.com (The AmigaE Mailing List)
  47. Subject: Re: Many Questions II
  48.  
  49. Hi all, and more particularly Barry
  50.  
  51.  
  52. Barry wrote :
  53. > ~8> 1) Does anyone use the IntuiSup.library (it is also called ISUP) ? I try to 
  54. > ~8> program with it...
  55. > Nope.
  56.  
  57. AAAAAAAAArrrrrrrrrrgggggggggghhhhhhh......
  58.  
  59.  
  60. > Try:
  61. >   DEF test_border_data:PTR TO LONG
  62. >   test_border_data:=[[ 4, 273,  33, 87, 25]:borderdata,
  63. >                      [ 2, 275, 106, 95, 21]:borderdata,
  64. >                      [ 1, 397, 112, 97, 15]:borderdata,
  65. >                      [ 3, 374,   6, 63, 14]:borderdata]
  66. > Just a wild guess.  I this doesn't work, you should post the
  67. > ShowModule output for the borderdata OBJECT and ask again.  I
  68. > could give a better answer if I knew what it looked like.
  69.  
  70. Well this does not work. with one item, the borderdata is recognized, but with this kind of list... nothing happens :(
  71.  
  72.  
  73. Well this example with BorderData is not what I want really to do, I take this
  74. because it was the smallest example I find out in the IntuiSup.c file using
  75. the IntuiSup.library.
  76.  
  77. So, the IntuiSup create the gadget with ONE function :
  78.   glist:=IcreateGadgets(ri, gaddata, offx, offy, locale)
  79.  
  80.     glist : returned pointer to the gadget list,
  81.     ri    : internal pointer used by IntuiSup
  82.     offx, offy : x and y offset to place the text of all buttons
  83.     gaddata : pointer to a GadgetData structures.
  84.  
  85.   gaddata := [ buttonkind, 
  86.                flags, 
  87.                x,y,w,h, 
  88.                title, 
  89.                textattr, 
  90.                data1, data2, data3 ]
  91.  
  92. If I defined ONE gadget like gaddata above, I have this gadget displayed. But
  93. when I make a list like you are saying Barry (well, with GadgetData and not 
  94. BorderData :) I don't get ANYTHING....
  95.  
  96. Hope that my explanation will help !
  97.  
  98. --
  99. -------------------------------------------------------------------------------
  100.    / / Olivier ANH   (ERAMUS Student)     |' And may the Force be with You ! '
  101. \ X /  anh@rbg.informatik.th-darmstadt.de |             - Return of the Jedi -
  102. -------------------------------------------------------------------------------
  103. From crash!stack.urc.tue.nl!leon Mon, 24 Jan 94 04:47:38 PST
  104. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  105.       id <1nck@bkhouse.cts.com>; Mon, 24 Jan 94 04:47:38 PST
  106. Received: from mailhost.tue.nl by crash.cts.com with smtp
  107.     (Smail3.1.28.1 #18) id m0pOQ4I-0000z3C; Mon, 24 Jan 94 04:06 PST
  108. Received: from terra.stack.urc.tue.nl by mailhost.tue.nl with SMTP id AA14495
  109.   (5.65c/IDA-1.4.4 for <AmigaE@bkhouse.cts.com>); Mon, 24 Jan 1994 13:06:53 +0100
  110. Received: from blade.stack.urc.tue.nl by terra.stack.urc.tue.nl (4.1/1.53)
  111.     id AA18305; Mon, 24 Jan 94 13:06:31 +0100
  112. Received: from localhost (leon@localhost) by blade.stack.urc.tue.nl (8.6.4/8.6.4) id NAA10060 for AmigaE@bkhouse.cts.com; Mon, 24 Jan 1994 13:07:21 +0100
  113. Message-Id: <199401241207.NAA10060@blade.stack.urc.tue.nl>
  114. Date: Mon, 24 Jan 1994 13:07:15 +0100 (MET)
  115. In-Reply-To: <9401231607.AA08329@tso.uc.edu> from "Carl Jolley" at Jan 23, 94 11:07:48 am
  116. X-Mailer: ELM [version 2.4 PL23]
  117. Mime-Version: 1.0
  118. Content-Type: text/plain; charset=US-ASCII
  119. Content-Transfer-Encoding: 7bit
  120. Content-Length: 901
  121. From: leon@stack.urc.tue.nl (Leon Woestenberg)
  122. To: AmigaE@bkhouse.cts.com
  123. Subject: Re: E Statement, v5
  124.  
  125. > In a message about the next release of E, one feature mentioned by
  126. > Wouter was:
  127. > > - multiple returnvalues and multiple-value assignments.
  128. > >   functions can now return more than one value, and assignment
  129. > >   statements can store in more than one var.
  130. > >   a,b,c:=func(); RETURN 1,2,3
  131. > WRT, the multiple-value assignments, how is (or might) this capability
  132. > different from the already available ability to have multiple assignments
  133. > "chained" in one statement?, e.g. :
  134. >    a:=b:=c:=func()
  135. In your example, a, b and c get the same value. In Wouter's example,
  136. multiple (different!) values can be returned. Imagine this code:
  137.  
  138. DEF a,b,c,d=10
  139. a,b,c:=func(d)
  140. PROC func(value) RETURN value*value,-value,value*2
  141.  
  142. a will now be 100, b will be -10 and c becomes 20.
  143.  
  144. I hope this clears things up, 
  145.  
  146. -- 
  147. Intel Outside, Intuition Inside...
  148. Leon Woestenberg (leon@stack.urc.tue.nl) 
  149. --
  150. From crash!rbhp56.rbg.informatik.th-darmstadt.de!anh Mon, 24 Jan 94 04:47:47 PST
  151. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  152.       id <1ncp@bkhouse.cts.com>; Mon, 24 Jan 94 04:47:47 PST
  153. Received: from rbhp89.rbg.informatik.th-darmstadt.de by crash.cts.com with smtp
  154.     (Smail3.1.28.1 #18) id m0pOQ8R-0000ObC; Mon, 24 Jan 94 04:11 PST
  155. Received: from rbhp73.rbg.informatik.th-darmstadt.de by rbhp89.rbg.informatik.th-darmstadt.de with SMTP
  156.     (1.36.108.4/15.6) id AA14605; Mon, 24 Jan 1994 13:11:43 +0100
  157. Received: by rbhp73.rbg.informatik.th-darmstadt.de
  158.     (1.36.108.4/15.6) id AA11859; Mon, 24 Jan 1994 13:10:53 +0100
  159. Message-Id: <m0pOQ8R-0000ObC@crash.cts.com>
  160. Date: Mon, 24 Jan 94 13:10:52 MEZ
  161. Full-Name: Olivier Anh
  162. In-Reply-To: <01H7Y0KAX2GY90MXCI@UNCA.EDU>; from "Joseph E. Van_Riper III" at Jan 21, 94 12:38 (noon)
  163. Mailer: Elm [revision: 66.25]
  164. From: Olivier Anh <anh@rbhp56.rbg.informatik.th-darmstadt.de>
  165. To: AmigaE@bkhouse.cts.com (The AmigaE Mailing List)
  166. Subject: Re: Many Questions II
  167.  
  168. Re hi
  169.  
  170. I add another note :
  171.  
  172.  
  173. > I think I can answer the "STATIC struct BorderData  test_border_data[]"
  174. > question.
  175.  
  176. In the C example, the BorderData is a list (test_border_data[])
  177. > Try DEFining a variable (perhaps test_border_data), then:
  178. > test_border_data:=[[4, 273, 33, 87, 25],[2, 275, 106, 95, 21],
  179. >                    [1, 397, 112, 97, 15],[3, 374, 6, 63, 14],
  180. >                    [INTUISUP_DATA_END]]
  181.  
  182. BUT this knid of list (I tried) is not accepted by the E...
  183.  
  184.  
  185. Other NOTE :
  186. I look into the E docs, WbArgs.e doesn't run under 1.3... So I tried this 
  187. simple program :
  188.   PROC main()
  189.     DEF i
  190.     FOR i:=1 TO 100 DO WriteF('\d',i)
  191.   ENDPROC
  192.  
  193. It runs in a shell, but not in the workbench. The output window opens and 
  194. closes without doing anything.... Strange !
  195.  
  196.  
  197. 3rd NOTE :
  198. Someone, maybe you Trey, tells me to use the Delay() function... It doesn't do
  199. anyhing, under 1.3 (I tried Delay(250), 5 seconds)
  200.  
  201. Bye, and thanx in advance
  202.  
  203.  
  204. --
  205. -------------------------------------------------------------------------------
  206.    / / Olivier ANH   (ERAMUS Student)     |' And may the Force be with You ! '
  207. \ X /  anh@rbg.informatik.th-darmstadt.de |             - Return of the Jedi -
  208. -------------------------------------------------------------------------------
  209. From crash!mhd1.moorhead.msus.edu!platt Mon, 24 Jan 94 05:45:20 PST
  210. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  211.       id <1nda@bkhouse.cts.com>; Mon, 24 Jan 94 05:45:20 PST
  212. Received: from mhd1.moorhead.msus.edu by crash.cts.com with smtp
  213.     (Smail3.1.28.1 #18) id m0pOQkf-0000B6C; Mon, 24 Jan 94 04:50 PST
  214. Received: by mhd1.moorhead.msus.edu (5.65/DEC-Ultrix/4.3)
  215.     id AA29303; Mon, 24 Jan 1994 06:51:31 -0600
  216. Message-Id: <9401241251.AA29303@mhd1.moorhead.msus.edu>
  217. Date: Mon, 24 Jan 1994 06:51:31 -0600 (CST)
  218. In-Reply-To: <199401232115.QAA06278@freenet.carleton.ca> from "ao443@freenet.carleton.ca" at Jan 23, 94 04:15:36 pm
  219. X-Mailer: ELM [version 2.4 PL20]
  220. Content-Type: text
  221. Content-Length: 345
  222. From: platt@mhd1.moorhead.msus.edu (Vincent Platt)
  223. To: AmigaE@bkhouse.cts.com
  224. Subject: EFormat
  225.  
  226. Has anyone had any problems with EFormat?  After it finishes processing my
  227. file with a command line like so: eformat ppi.e >ppinew.e it gives me back
  228. the command line.  Then I type my next command or just hit return and it
  229. gurus.  It does this every time and is definitely reproducable.  I'm using
  230. 2.04, A500 (w/ a A500-HD8+ 120 meg & a 68010).
  231. From crash!freenet.carleton.ca!ao443 Tue, 25 Jan 94 01:05:33 PST
  232. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  233.       id <1nfr@bkhouse.cts.com>; Tue, 25 Jan 94 01:05:33 PST
  234. Received: from freenet-news.carleton.ca by crash.cts.com with smtp
  235.     (Smail3.1.28.1 #18) id m0pOU96-00002GC; Mon, 24 Jan 94 08:28 PST
  236. Received: from freenet.carleton.ca by freenet-news.carleton.ca (4.1/SMI-4.0)
  237.     id AA18204; Mon, 24 Jan 94 11:27:53 EST
  238. Received: from localhost (ao443@localhost) by freenet.carleton.ca (8.6.4/8.6.4) id LAA03679; Mon, 24 Jan 1994 11:27:54 -0500
  239. Date: Mon, 24 Jan 1994 11:27:54 -0500
  240. Message-Id: <199401241627.LAA03679@freenet.carleton.ca>
  241. Reply-To: ao443@freenet.carleton.ca
  242. From: ao443@freenet.carleton.ca (Jason Maskell)
  243. To: amigae@bkhouse.cts.com
  244. Subject: Re: EPP and stuff..
  245.  
  246.  
  247. >Welcome, Jason!
  248.  
  249.     Thanks, glad to be here.
  250. >I have stopped development on EPP.  What exactly did you have
  251. >in mind?  Command line option and OPT EFORMAT directive that
  252. >simply causes EPP to invoke Eformat at the end of processing?
  253. >Like:
  254. >
  255. >  IF arg_Eformat THEN Execute(eformat_command_line,0,0)
  256. >
  257. >or something like it?
  258.  
  259.     Actually, I was thinking something more along the line of :
  260. IF arg_Eformat
  261.     Eformat(buffer,flags)    /* No messy unstructured IF THENs ;-> */
  262. ENDIF
  263.     Where Eformat would be a part of EPP. Btw, I was looking at your
  264. code, and I bet I could speed up overall processing time quite a bit. (By
  265. reading in the whole source and parsing in memory.)
  266.  
  267.  
  268. --
  269. -------------------------------------------------------------------------
  270.  
  271. Claimer: My employers agree wholeheartedly with my every utterance.